package com.liuguang.common.enums;

public enum RedisPreFixEnum {
    VERIFY_CODE_PHONE_TYPE("短信验证码对应前缀", "phone_"),
    VERIFY_CODE_USERNAME_PASSWORD_TYPE("用户名密码验证码前缀", "usernamepassword_"),
    GET_VERIFY_CODE_TIME_LIMIT("每个ip三分钟内只能获取一次验证码", "verifycodetimelimit_"),

    SAVE_USER_INFO("登录成功，保存的用户信息", "saveUserInfo_"),
    JWT_CLAIM_KEY ("jwt加密key","jwtClaimKey_") ,

    VALIDATE_CODE("验证码保存前缀", "validateCode_"),
    ;

    private String msg;
    private String value;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    RedisPreFixEnum(String msg, String value) {

        this.msg = msg;
        this.value = value;
    }
}
